import mock.MockGameState;
import view.GamePanel;

import javax.swing.*;

/**
 * Created with IntelliJ IDEA.
 * User: Student
 * Date: 29/11/12
 * Time: 16:07
 * To change this template use File | Settings | File Templates.
 */
public class StartOnesGame {

    public static void main(String args[]) {
        JFrame frame = new JFrame("1's Game");
        frame.setSize(1200, 800);
        frame.setLocationRelativeTo(null);
        GamePanel gamePanel = GamePanel.getInstance(MockGameState.getInstance());
        frame.add(gamePanel);
        frame.setVisible(true);
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    }
}
